home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / language / embedded / mcu / cluster.arc / FFWD_C.CHG < prev    next >
Text File  |  1989-05-24  |  1KB  |  41 lines

  1. FILE:          ffwd_c.chg
  2. PURPOSE:       To describe the lost cluster fix to the ASXX cross assemblers.
  3.  
  4. DESCRIPTION:
  5.  
  6.   The problem of MS-DOS lost clusters is due to a file being erased before it 
  7. is closed in the module FFWD.C. This would not be a problem on a Unix system 
  8. but causes lost clusters on a MS-DOS machine.
  9.   The archive from which this file was extracted, also contains the file FFWD.C 
  10. that has been modified with the change described in this file.  In order to 
  11. create the '.EXE' files substitute the FFWD.C file given here in the original
  12. source and re-compile the assemblers.  I used Borland Turbo C ver 2.0.
  13.  
  14.   See also the enhancement to the commenting style made to file AS.C.  Details 
  15. can be found in file AS_C.CHG.
  16.  
  17.   See also the enhancement to the cross reference, and symbol table output made 
  18. to file OUTPUT.C.  Details can be found in file OUTPUT_C.CHG.
  19.  
  20.   If you have any questions for me, or if you would like me to upload the 
  21. complete source and executable files that include this change, I can be reached 
  22. at 801-778-4410.  Ask for Bruce Olney.
  23.  
  24.   A fix to resolve this problem could be implemented as follows: (starting with 
  25. line 24 of FFWD.C)
  26.  
  27.    WAS:
  28.  
  29.      #ifndef DEBUG
  30.        unlink(Fwd_name);
  31.      #endif
  32.  
  33.    FIX:
  34.  
  35.      #ifndef DEBUG
  36.        close(Forward); /* Have to close first on MS-DOS or you leave lost clusters. */
  37.        unlink(Fwd_name);
  38.      #endif
  39.  
  40.  
  41.